<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Newton Dynamics: ndBezierSpline Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_php.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Newton Dynamics
   &#160;<span id="projectnumber">4.00</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnd_bezier_spline.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classnd_bezier_spline-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ndBezierSpline Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ndBezierSpline:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnd_bezier_spline.png" usemap="#ndBezierSpline_map" alt=""/>
  <map id="ndBezierSpline_map" name="ndBezierSpline_map">
<area href="classnd_class_alloc.html" title="Base class for providing memory allocation for all other engine classes." alt="ndClassAlloc" shape="rect" coords="0,0,97,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6969971e1deaae6af3a292476ce40c51"><td class="memItemLeft" align="right" valign="top"><a id="a6969971e1deaae6af3a292476ce40c51"></a>
D_CORE_API&#160;</td><td class="memItemRight" valign="bottom"><b>ndBezierSpline</b> (const <a class="el" href="classnd_bezier_spline.html">ndBezierSpline</a> &amp;src)</td></tr>
<tr class="separator:a6969971e1deaae6af3a292476ce40c51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac917f7cfd94b285236987cf5abb81862"><td class="memItemLeft" align="right" valign="top"><a id="ac917f7cfd94b285236987cf5abb81862"></a>
D_CORE_API <a class="el" href="classnd_bezier_spline.html">ndBezierSpline</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classnd_bezier_spline.html">ndBezierSpline</a> &amp;copy)</td></tr>
<tr class="separator:ac917f7cfd94b285236987cf5abb81862"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b09827826bddb1c86509aab5bc5f822"><td class="memItemLeft" align="right" valign="top"><a id="a6b09827826bddb1c86509aab5bc5f822"></a>
D_CORE_API ndInt32&#160;</td><td class="memItemRight" valign="bottom"><b>GetDegree</b> () const</td></tr>
<tr class="separator:a6b09827826bddb1c86509aab5bc5f822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f0a72013f2e594be24267e1a8a61f4d"><td class="memItemLeft" align="right" valign="top"><a id="a8f0a72013f2e594be24267e1a8a61f4d"></a>
D_CORE_API <a class="el" href="classnd_big_vector.html">ndBigVector</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CurvePoint</b> (ndFloat64 u) const</td></tr>
<tr class="separator:a8f0a72013f2e594be24267e1a8a61f4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb64070abef24d75725ee7b265bc1046"><td class="memItemLeft" align="right" valign="top"><a id="acb64070abef24d75725ee7b265bc1046"></a>
D_CORE_API <a class="el" href="classnd_big_vector.html">ndBigVector</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CurveDerivative</b> (ndFloat64 u, ndInt32 index=1) const</td></tr>
<tr class="separator:acb64070abef24d75725ee7b265bc1046"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ecad5d15dfdec79135f744807a33415"><td class="memItemLeft" align="right" valign="top"><a id="a1ecad5d15dfdec79135f744807a33415"></a>
D_CORE_API ndInt32&#160;</td><td class="memItemRight" valign="bottom"><b>CurveAllDerivatives</b> (ndFloat64 u, <a class="el" href="classnd_big_vector.html">ndBigVector</a> *const defivatives) const</td></tr>
<tr class="separator:a1ecad5d15dfdec79135f744807a33415"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23287089ec0d6eaa46327f2f596df90a"><td class="memItemLeft" align="right" valign="top"><a id="a23287089ec0d6eaa46327f2f596df90a"></a>
D_CORE_API ndFloat64&#160;</td><td class="memItemRight" valign="bottom"><b>CalculateLength</b> (ndFloat64 tol) const</td></tr>
<tr class="separator:a23287089ec0d6eaa46327f2f596df90a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3429bae6c26e268df3da16252daabe81"><td class="memItemLeft" align="right" valign="top"><a id="a3429bae6c26e268df3da16252daabe81"></a>
D_CORE_API void&#160;</td><td class="memItemRight" valign="bottom"><b>GlobalCubicInterpolation</b> (ndInt32 count, const <a class="el" href="classnd_big_vector.html">ndBigVector</a> *const points, const <a class="el" href="classnd_big_vector.html">ndBigVector</a> &amp;firstTangent, const <a class="el" href="classnd_big_vector.html">ndBigVector</a> &amp;lastTangent)</td></tr>
<tr class="separator:a3429bae6c26e268df3da16252daabe81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa818c3c4ca80c1f767a210914764501"><td class="memItemLeft" align="right" valign="top"><a id="afa818c3c4ca80c1f767a210914764501"></a>
D_CORE_API void&#160;</td><td class="memItemRight" valign="bottom"><b>CreateFromKnotVectorAndControlPoints</b> (ndInt32 degree, ndInt32 knotCount, const ndFloat64 *const knotVector, const <a class="el" href="classnd_big_vector.html">ndBigVector</a> *const controlPoints)</td></tr>
<tr class="separator:afa818c3c4ca80c1f767a210914764501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d9c27fd4351b925bd539417ef1a7011"><td class="memItemLeft" align="right" valign="top"><a id="a3d9c27fd4351b925bd539417ef1a7011"></a>
D_CORE_API void&#160;</td><td class="memItemRight" valign="bottom"><b>InsertKnot</b> (ndFloat64 u)</td></tr>
<tr class="separator:a3d9c27fd4351b925bd539417ef1a7011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5366ea2660f3521b927f145d81fcd668"><td class="memItemLeft" align="right" valign="top"><a id="a5366ea2660f3521b927f145d81fcd668"></a>
D_CORE_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>RemoveKnot</b> (ndFloat64 u, ndFloat64 tol)</td></tr>
<tr class="separator:a5366ea2660f3521b927f145d81fcd668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04ffb92122ef2c934ece3925ce28bca8"><td class="memItemLeft" align="right" valign="top"><a id="a04ffb92122ef2c934ece3925ce28bca8"></a>
D_CORE_API ndInt32&#160;</td><td class="memItemRight" valign="bottom"><b>GetControlPointCount</b> () const</td></tr>
<tr class="separator:a04ffb92122ef2c934ece3925ce28bca8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b92c2907741e3c76251670f00ce154c"><td class="memItemLeft" align="right" valign="top"><a id="a9b92c2907741e3c76251670f00ce154c"></a>
D_CORE_API <a class="el" href="classnd_array.html">ndArray</a>&lt; <a class="el" href="classnd_big_vector.html">ndBigVector</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetControlPointArray</b> ()</td></tr>
<tr class="separator:a9b92c2907741e3c76251670f00ce154c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17b1f30ae82c6059aa4cf20d1779bdae"><td class="memItemLeft" align="right" valign="top"><a id="a17b1f30ae82c6059aa4cf20d1779bdae"></a>
D_CORE_API const <a class="el" href="classnd_array.html">ndArray</a>&lt; <a class="el" href="classnd_big_vector.html">ndBigVector</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetControlPointArray</b> () const</td></tr>
<tr class="separator:a17b1f30ae82c6059aa4cf20d1779bdae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ff6d42d87828d9b9d910d80e25611ea"><td class="memItemLeft" align="right" valign="top"><a id="a8ff6d42d87828d9b9d910d80e25611ea"></a>
D_CORE_API <a class="el" href="classnd_big_vector.html">ndBigVector</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetControlPoint</b> (ndInt32 i) const</td></tr>
<tr class="separator:a8ff6d42d87828d9b9d910d80e25611ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd0cb79c7f33dc28f2964cd7538440a1"><td class="memItemLeft" align="right" valign="top"><a id="abd0cb79c7f33dc28f2964cd7538440a1"></a>
D_CORE_API void&#160;</td><td class="memItemRight" valign="bottom"><b>SetControlPoint</b> (ndInt32 i, const <a class="el" href="classnd_big_vector.html">ndBigVector</a> &amp;point)</td></tr>
<tr class="separator:abd0cb79c7f33dc28f2964cd7538440a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f11e5d791e21571d80eb1371196031e"><td class="memItemLeft" align="right" valign="top"><a id="a0f11e5d791e21571d80eb1371196031e"></a>
D_CORE_API ndInt32&#160;</td><td class="memItemRight" valign="bottom"><b>GetKnotCount</b> () const</td></tr>
<tr class="separator:a0f11e5d791e21571d80eb1371196031e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78c306b38617c16c51c5db2e75454f88"><td class="memItemLeft" align="right" valign="top"><a id="a78c306b38617c16c51c5db2e75454f88"></a>
D_CORE_API <a class="el" href="classnd_array.html">ndArray</a>&lt; ndFloat64 &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetKnotArray</b> ()</td></tr>
<tr class="separator:a78c306b38617c16c51c5db2e75454f88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a204d7ce099f75e262282eb7c4d35dc73"><td class="memItemLeft" align="right" valign="top"><a id="a204d7ce099f75e262282eb7c4d35dc73"></a>
D_CORE_API const <a class="el" href="classnd_array.html">ndArray</a>&lt; ndFloat64 &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetKnotArray</b> () const</td></tr>
<tr class="separator:a204d7ce099f75e262282eb7c4d35dc73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a320706ebe6c16ed22498678cf2303da9"><td class="memItemLeft" align="right" valign="top"><a id="a320706ebe6c16ed22498678cf2303da9"></a>
D_CORE_API ndFloat64&#160;</td><td class="memItemRight" valign="bottom"><b>GetKnot</b> (ndInt32 i) const</td></tr>
<tr class="separator:a320706ebe6c16ed22498678cf2303da9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af04c050fed41fd982824d529b3c5ca5a"><td class="memItemLeft" align="right" valign="top"><a id="af04c050fed41fd982824d529b3c5ca5a"></a>
D_CORE_API ndFloat64&#160;</td><td class="memItemRight" valign="bottom"><b>FindClosestKnot</b> (<a class="el" href="classnd_big_vector.html">ndBigVector</a> &amp;closestPointOnCurve, const <a class="el" href="classnd_big_vector.html">ndBigVector</a> &amp;point, ndInt32 subdivitionSteps=2) const</td></tr>
<tr class="separator:af04c050fed41fd982824d529b3c5ca5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a577fca77ab63b607d81ad95601f30cfd"><td class="memItemLeft" align="right" valign="top"><a id="a577fca77ab63b607d81ad95601f30cfd"></a>
D_CORE_API void&#160;</td><td class="memItemRight" valign="bottom"><b>Trace</b> () const</td></tr>
<tr class="separator:a577fca77ab63b607d81ad95601f30cfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classnd_class_alloc"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classnd_class_alloc')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classnd_class_alloc.html">ndClassAlloc</a></td></tr>
<tr class="memitem:affad975c41ed36eae8c71e3468fc12e3 inherit pub_methods_classnd_class_alloc"><td class="memItemLeft" align="right" valign="top"><a id="affad975c41ed36eae8c71e3468fc12e3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_class_alloc.html#affad975c41ed36eae8c71e3468fc12e3">ndClassAlloc</a> ()</td></tr>
<tr class="memdesc:affad975c41ed36eae8c71e3468fc12e3 inherit pub_methods_classnd_class_alloc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty default constructor. <br /></td></tr>
<tr class="separator:affad975c41ed36eae8c71e3468fc12e3 inherit pub_methods_classnd_class_alloc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fea90aa3642db2007a191975bb169ce inherit pub_methods_classnd_class_alloc"><td class="memItemLeft" align="right" valign="top"><a id="a8fea90aa3642db2007a191975bb169ce"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_class_alloc.html#a8fea90aa3642db2007a191975bb169ce">~ndClassAlloc</a> ()</td></tr>
<tr class="memdesc:a8fea90aa3642db2007a191975bb169ce inherit pub_methods_classnd_class_alloc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty. <br /></td></tr>
<tr class="separator:a8fea90aa3642db2007a191975bb169ce inherit pub_methods_classnd_class_alloc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classnd_class_alloc"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classnd_class_alloc')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classnd_class_alloc.html">ndClassAlloc</a></td></tr>
<tr class="memitem:a1f1766c498c6231d24c63582106d2cfc inherit pub_static_methods_classnd_class_alloc"><td class="memItemLeft" align="right" valign="top"><a id="a1f1766c498c6231d24c63582106d2cfc"></a>
D_OPERATOR_NEW_AND_DELETE static D_CORE_API void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_class_alloc.html#a1f1766c498c6231d24c63582106d2cfc">Malloc</a> (size_t size)</td></tr>
<tr class="memdesc:a1f1766c498c6231d24c63582106d2cfc inherit pub_static_methods_classnd_class_alloc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generic allocation for any function subclass from <a class="el" href="classnd_class_alloc.html" title="Base class for providing memory allocation for all other engine classes.">ndClassAlloc</a>. <br /></td></tr>
<tr class="separator:a1f1766c498c6231d24c63582106d2cfc inherit pub_static_methods_classnd_class_alloc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5037cbc14d91b2b5e6b5163ed0ef9757 inherit pub_static_methods_classnd_class_alloc"><td class="memItemLeft" align="right" valign="top"><a id="a5037cbc14d91b2b5e6b5163ed0ef9757"></a>
static D_CORE_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_class_alloc.html#a5037cbc14d91b2b5e6b5163ed0ef9757">Free</a> (void *const ptr)</td></tr>
<tr class="memdesc:a5037cbc14d91b2b5e6b5163ed0ef9757 inherit pub_static_methods_classnd_class_alloc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generic destruction for any function subclass from <a class="el" href="classnd_class_alloc.html" title="Base class for providing memory allocation for all other engine classes.">ndClassAlloc</a>. <br /></td></tr>
<tr class="separator:a5037cbc14d91b2b5e6b5163ed0ef9757 inherit pub_static_methods_classnd_class_alloc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classnd_bezier_spline.html">ndBezierSpline</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
